//
//  GXShopPictureCell.m
//  YIChuSeller
//
//  Created by 田小椿 on 2018/12/3.
//  Copyright © 2018年 xiangshengjun. All rights reserved.
//

#import "GXFeatureCommonCell.h"
@interface GXFeatureCommonCell ()
@property (weak, nonatomic) IBOutlet UIImageView *bgImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleNameLabel;


@end
@implementation GXFeatureCommonCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}
- (void)setModel:(GXFeatureModel *)model
{
    _model = model;
    NSString * urlStr = [NSString stringWithFormat:@"%@/%@",kBaseURLIMAGE,model.dishesImage];
    [self.bgImageView sd_setImageWithURL:[NSURL URLWithString:urlStr]];
    self.titleNameLabel.text = model.name;
}
@end
